var do_Page = sm("do_Page");
var rootView = ui("$");
var lableTag=ui("lableTag");
var alayoutRoot=ui("alayoutRoot");
rootView.setMapping({
	"lableTag.tag" : "code",
	"lableTag.text" : "name",
	"lableTag.fontColor" : "tagFontColor",
	"lableTag.tag" : "id"
});
do_Page.on("community_tags_change",function(data){
	if(lableTag.tag!=data.id){
		lableTag.fontColor="949EAAFF";
	}else{
		lableTag.fontColor="ff5305FF";
	}
})
alayoutRoot.on("touch", function(){
	do_Page.fire("community_tags_change",{id:lableTag.tag});
	do_Page.fire("community_newIndex_tab",{tabType:"communityMessage",tagId:lableTag.tag});
})